ion-app.app-root {
  .content-ios, .content-md {
    background-color: #f6f6f6;
  }
  //background: url("../assets/imgs/back-img.jpg") center center no-repeat;
  //background-size: cover;
  //ion-navbar.toolbar {
  //  background: url("../assets/imgs/header.png") center center no-repeat;
  //  background-size: cover;
  //}
  //.toolbar-background, .item {
  //  background: transparent;
  //}
  //.content {
  //  background: url("../assets/imgs/back-img.jpg") center center no-repeat;
  //  background-size: cover;
  //}
  //ion-menu {
  //  .menu-inner {
  //    background: rgba(0, 4, 42, 0.8);
  //  }
  //  .content {
  //    background: transparent;
  //  }
  //}
  //.menu-inner {
  //  width: 220px;
  //}

  .item {
    ion-label {
      overflow: initial;
    }
    &.item-block:last-child,
    .item-wrapper:last-child .item-block {
      border: none;
    }
    &.item-input:not(.setting-input), &.item-select {
      /*background: url("../assets/imgs/border.png") center bottom no-repeat;
      background-size: contain;
      &:last-child, .item-inner {
        border-bottom: none;
      }
      &.item-input-has-focus .item-inner,
      &.input-has-focus .item-inner,
      &.item-input-has-focus:last-child,
      &.input-has-focus:last-child {
        border-bottom: none;
        box-shadow: none;
      }*/
      /*输入反馈*/
      &.ng-invalid.ng-dirty .item-inner:after {
        -webkit-animation-name:  diffZoomIn1 !important;
        animation-name:  diffZoomIn1 !important;
        color: #f53d3d;
        content: '';
      }
      &.ng-valid.ng-dirty .item-inner:after {
        -webkit-animation-name:  diffZoomIn1 !important;
        animation-name:  diffZoomIn1 !important;
        color: #32db64;
        content: '';
      }
    }
  }
  /* .item-divider-md {
     border-bottom: none;
   }*/
  .item-md, .item-ios {
    font-size: 1.4rem;
    padding-left: 12px;
    ion-label {
      font-size: 1.5rem;
      //color: #fff;
    }
  }
  .item-ios [item-left], .item-ios [item-start] {
    margin: 9px 8px 9px 0;
  }
  .item-md, .item-ios {
    .icon[item-left] + .item-inner,
    .icon[item-left] + .item-input,
    .icon[item-start] + .item-inner,
    .icon[item-start] + .item-input {
      margin-left: 5px;
    }
  }

  /*按钮样式*/
  a[disabled], button[disabled], [ion-button][disabled] {
    color: #ccc;
    opacity: 0.8;
  }

  .button {
    &.button-outline-ios-primary, &.button-outline-md-primary {
      border-color: $color-thc;
      color: $color-thc-dark;
      background-color: #fff;
      &.activated {
        box-shadow: 0 0 3px 1px $color-thc inset
      }
    }
    &.button-ios-primary, &.button-md-primary {
      background-color: $color-thc;
      &.activated {
        background-color: $color-thc-dark;
      }
    }
  }


  /*输入框样式*/
  input:not(.alert-input)::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
    color: $color-gray-light;
    font-size: 1.4rem;
  }

  input:not(.alert-input):-moz-placeholder, textarea:-moz-placeholder {
    color: $color-gray-light;
    font-size: 1.4rem;
  }

  input:not(.alert-input)::-moz-placeholder, textarea::-moz-placeholder {
    color: $color-gray-light;
    font-size: 1.4rem;
  }

  input:not(.alert-input):-ms-input-placeholder, textarea:-ms-input-placeholder {
    color: $color-gray-light;
    font-size: 1.4rem;
  }

  .error-message {
    margin: 2px;
    font-size: 12px;
    color: $color-warning;
  }

  .no-data{
    color: gray;
    font-size: 1.4rem;
    margin-top: 3rem;
  }

  /*导航栏 start*/
  /*配置返回按钮的图标*/
  /*.icon.back-button-icon:before {
    content: '';
    width: 18px;
    height: 38px;
    background: url(../assets/imgs/back.png) center center no-repeat;
    background-size: contain;
  }
  .back-button.show-back-button {
    z-index: 99;
  }*/
  .title-md {
    left: 0;
    top: 0;
    padding: 0 90px 1px;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    .toolbar-title-md {
      text-align: center;
    }
  }

  .toast-md .toast-wrapper, .toast-ios .toast-wrapper {
    //background: #696969;
    //background: rgba(112, 112, 112, .65);
    width: auto;
    left: 10px;
    right: 10px;
    margin: 30px auto;
    display: inline-block;
    transform: translateX(-50%);
    border-radius: 3rem;
    .toast-message {
      padding: 1rem;
    }
  }

  /* .item-list {
     .item:not(.item-divider) {
       background: $color-thc-bg;
     }
     .item-divider-md {
       border-bottom: none;
     }
     .item-md.item-block .item-inner {
       border-bottom-color: $color-thc-bg;
     }
   }*/
  .item-md ion-thumbnail {
    min-width: 60px;
    min-height: 60px;
  }

  .card-md h3, .card-md h4, .card-md h5, .card-md h6 {
    color: inherit;
  }

  /*.popover-md, .popover-ios {
    .popover-content {
      background: #505050;
    }
  }*/

  ion-select {
    max-width: 60%;
    font-size: 1.2rem;
  }

  .loading-ios .loading-wrapper,
  .loading-md .loading-wrapper {
    //background: rgba(112, 112, 112, .65);
    border-radius: 8px;
    color: #666;
    text-align: center;
    line-height: 1.4;
  }
}
